package com.zlsx.androidutil.androidutil;

import android.graphics.Color;

import java.math.BigInteger;

/**
 * @author zlsx
 * @time: 2019/8/26 14:51
 * @Description:
 **/
public class ColorUtil {
    public static String intColorToColor(int color){
        return "#"+Integer.toHexString(color);
    }

    // rgb转int
    public static int converRgbToArgb(int r, int g, int b) {
        return ((0xFF << 24) | (r << 16) | (g << 8) | b);
    }

}
